<?php

namespace app\model\news;

use hunma\basic\BaseModel;

class YztNewsPushLogModel extends BaseModel
{
    protected $table = 'yzt_news_push_log';
    protected $primaryKey = 'id';

    public $timestamps = true;
    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';
    const DELETED_AT = 'delete_time';

    protected $dates = ['delete_time'];

    protected $fillable = [
        'unique_key',
        'news_id',
        'publish_time',
        'title',
        'source',
        'tags',
        'cid',
        'create_time',
        'update_time',
        'delete_time'
    ];
}
